#ifndef DGVIMAGE_H
#define DGVIMAGE_H


class DGVImage {
  // Associations
  // Attributes
  public:
    QPixmap * image;
    Array<int,2> data;
    DGVImage * result;
  // Operations
  public:
    void displayImage (  );
    bool openImage ( std::string filename );
    bool saveImage ( std::string filename );
    void unLoadImage ( int id );
    void hideImage (  );
    void toGreyScale ( int n = 8 );
    void contextMenu (  );
};

#endif
